import request from '@/utils/request'


export function getLoss(query){
	return request({
		url:"/api/damage/list",
		method:"POST",
		data:query
	})
}

export function updateLossType(query){
	return request({
		url:"/api/damage/edit",
		method:"PUT",
		data:query
	})
}

export function createLoss(query){
	return request({
		url:"/api/damage/add",
		method:"POST",
		data:query
	})
}